package top.atluofu.luofuecommerce.authserver.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import top.atluofu.common.utils.R;

/**
 * @ClassName: ThirdPartFeignService
 * @description: TODO
 * @author: 有罗敷的马同学
 * @datetime: 2022Year-11Month-24Day-11:12
 * @Version: 1.0
 */
@FeignClient("luofuecommerce-third-party")
public interface ThirdPartFeignService {

    @GetMapping("/sms/sendcode")
    public R sendCode(@RequestParam("phone") String phone, @RequestParam("code")  String code);

}
